.class public Lcom/estrongs/fs/impl/usb/driver/scsi/a;
.super Ljava/lang/Object;
.source "CommandStatusWrapper.java"


# static fields
.field private static final d:Ljava/lang/String; = "a"


# instance fields
.field private a:I

.field private b:I

.field private c:B


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Ljava/nio/ByteBuffer;)Lcom/estrongs/fs/impl/usb/driver/scsi/a;
    .locals 3

    .line 1
    sget-object v0, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;

    invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;

    .line 2
    new-instance v0, Lcom/estrongs/fs/impl/usb/driver/scsi/a;

    invoke-direct {v0}, Lcom/estrongs/fs/impl/usb/driver/scsi/a;-><init>()V

    .line 3
    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getInt()I

    move-result v1

    iput v1, v0, Lcom/estrongs/fs/impl/usb/driver/scsi/a;->a:I

    const v2, 0x53425355

    if-eq v1, v2, :cond_0

    .line 4
    sget-object v1, Lcom/estrongs/fs/impl/usb/driver/scsi/a;->d:Ljava/lang/String;

    const-string v2, "unexpected dCSWSignature"

    invoke-static {v1, v2}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 5
    :cond_0
    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getInt()I

    move-result v1

    iput v1, v0, Lcom/estrongs/fs/impl/usb/driver/scsi/a;->b:I

    .line 6
    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getInt()I

    .line 7
    invoke-virtual {p0}, Ljava/nio/ByteBuffer;->get()B

    move-result p0

    iput-byte p0, v0, Lcom/estrongs/fs/impl/usb/driver/scsi/a;->c:B

    return-object v0
.end method


# virtual methods
.method public a()B
    .locals 1

    .line 8
    iget-byte v0, p0, Lcom/estrongs/fs/impl/usb/driver/scsi/a;->c:B

    return v0
.end method

.method public b()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/fs/impl/usb/driver/scsi/a;->b:I

    return v0
.end method
